package com.baidu.manager.modules.sys.service;

import java.util.List;

/**
 * @Author: jql
 * @description: TODO(用户角色业务逻辑层)
 * @Date: Created by 17:53 2018/6/6
 */
public interface SysUserRoleService {

    void saveOrUpdate(Long userId, List<Long> roleIdList);

    /**
     * 跟用户Id，获取角色列表
     *
     * @param userId
     * @return
     */
    List<Long> queryRoleIdList(Long userId);

    void delete(Long userId);

    void deleteBatch(Long[] userIds);
}
